<!DOCTYPE html>
<html>
<head>
<title>个人钱包记录表</title>
<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
		<div class="grid-btn">
			<div class="form-group col-sm-2">
				<input type="text" class="form-control" v-model="q.billno" @keyup.enter="query" placeholder="订单号">
			</div>
			<a class="btn btn-default" @click="query">查询</a>
			<#if shiro.hasPermission("sys:walletpaylog:update")>
            <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;审批</a>
			</#if>
		</div>
	    <table id="jqGrid"></table>
	    <div id="jqGridPager"></div>
    </div>
    
    <div v-show="!showList" class="panel panel-default">
		<div class="panel-heading">{{title}}</div>
		<form class="form-horizontal">
											<div class="form-group">
			   	<div class="col-sm-2 control-label">订单号</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="walletpaylog.billno" readonly="readonly" placeholder="订单号"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">创建时间</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="walletpaylog.createdate" readonly="readonly" placeholder="创建时间"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">申请人</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="walletpaylog.createuser" readonly="readonly" placeholder="创建人"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">支付状态</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="walletpaylog.paystatus" readonly="readonly" placeholder="支付状态"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">支付类型</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="walletpaylog.paytype" readonly="readonly" placeholder="支付类型"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">返回类型</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="walletpaylog.returntype" readonly="readonly" placeholder="返回类型"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">银行卡</div>
			   	<div class="col-sm-10">
			      <input style="width: 1500px" type="text" class="form-control" v-model="walletpaylog.title" readonly="readonly" placeholder="标题"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">金额</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="walletpaylog.totalfee" readonly="readonly" placeholder="金额"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">更新时间</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="walletpaylog.updatedate" readonly="readonly" placeholder="更新时间"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">更新人</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="walletpaylog.updateuser" readonly="readonly" placeholder="更新人"/>
			    </div>
			</div>

							<div class="form-group">
				<div class="col-sm-2 control-label"></div> 
				<input type="button" class="btn btn-primary" @click="approved" value="批准"/>
				&nbsp;&nbsp;
				<input type="button" class="btn btn-primary" @click="refuse" value="拒绝"/>
				&nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
			</div>
		</form>
	</div>
</div>

<script src="${request.contextPath}/statics/js/modules/sys/walletpaylog.js?_${.now?long}"></script>
</body>
</html>